<html>
    <head>
        <title>Creating controllers and other classes</title>
        <link rel="stylesheet" href="nbdocs:/org/netbeans/modules/usersguide/ide.css" type="text/css">
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
        <h2>Creating controllers and other classes</h2>
        <p>
            You can create controllers, converters and serializers following these steps:
        </p>
        <ol>
            <li>
                In the Projects window, right-click your project node and choose New > Other . The File wizard opens.  
                Select the Carmesi category and a class type. Click Next.
            </li>
            <li>
                In the Class Name field, type in a name for the class.
            </li>
            <li>In Package, specify the package for the class.</li>
            <li>Specify any additional option:
                <ul>
                    <li>For Controller with @URL, set the url and optionally specify the view and indicate if you want a forward or a redirect to the view.</li>
                    <li>For Controller with @BeforeURL, set the url.</li>
                    <li>For Converter, specify the full classname to convert.</li>
                </ul>
            </li>
            <li>Click Finish. The new class is generated and opens in the editor.</li>
        </ol>
        <p>For information about Carmes&iacute;,  check: </p>
        <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
            <param name="content" value="http://code.google.com/p/carmesi">
            <param name="text" value="<html><u>Carmesi project</u></html>">
            <param name="textFontSize" value="medium">
            <param name="textColor" value="blue">
        </object>
    </body>
</html>
